Part Number Hot Search : 
RHR1K160 TC170 74LS140 BFQ232 0297020 TPA2273 SSW224 IRG4BC
Product Description
Full Text Search
 

To Download ATSAM2553 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  features ? interfaces directly to instrument hardware ? keyboard velocity scanner (up to 264 keys, 64 s time accuracy, log time scale) ? switches scanner (up to 176 switches) ? led display controller (up to 88 leds) ? sliders scanner (built-i n adc, up to 16 sliders) ? lcd display (8-bit interface) ? crisp musical response ? 49 mhz built-in 16-bit microcontroller ? interface with keyboard/switche s through built-i n shared memory ? high quality sound ? 64-slot digital sound synthesizer/processor ? multi-algorithm: pcm with dynamic lp filter, fm, delay lines for effects, equalizer, surround, digital audio-in processing, etc. ? compatible with atsam97xx sounds and firmware. ? 48 khz sampling rate ? up to 32 mega x 16 rom/ram for firmware, orchestrations and pcm data ? up to 4 channels audio- out, 2 channels audio-in ? top technology ? 128-lead lqfp space-saving package ? single 12.2880 mhz crystal operat ion, built-in pll minimizes rfi ? available soundbanks for gm or high quality piano ? cleanwave 1-mbyte and 4-mbyte sample sets (free license) ? high quality piano & strings 2-mbyte sample set ? other sample sets available under special licensing conditions ? quick time to market ? enhanced p16 processor with c compiler ? proven reliable synthesis drivers ? in-circuit emulation with samvs-c debu gger for easy prototype development ? built-in external flash programming algorithm, allows onboard flash programming. ? all existing atsam97xx and atsama 2xxx tools available for sound and soundbank development 1. description the ATSAM2553 integrates into a single chip a sam core (64-slots dsp + 16-bit pro- cessor), a 32k x 16 ram, an lcd displa y interface and a scanner allowing direct connection to velocity sensitive keyboards, switches, leds and sliders. with addition of a single external rom or flash and a stereo dac, a complete low cost musical instrument can be built, including reverb and chorus effects, parametric equalizer, sur- round effects, orchestrations , pitch bend, wheel controller, without compromising on sound quality. the ATSAM2553 is housed in a standard 128-lead lqfp package. sound synthesis ATSAM2553 integrated digital musical instrument 6399a?drmsd?13-oct-08
2 6399a?drmsd?13-oct-08 ATSAM2553 figure 1-1. typical application 2. main features the ATSAM2553 provides a new generation of integrated solutions for electronic musical instru- ments. the ATSAM2553 includes all key circ uitry into a single silicon chip: sound synthesizer/processor, 16-bit control processor, interface with keyboards, switches, sliders, leds, lcd display, etc. the synthesis/sound processing core of the ATSAM2553 is taken from the sam97xx series, whose quality has already been demonstrated through dozens of different musical products: e.pianos, home keyboards, professional keyb oards, classical organs, sound expanders. the maximum polyphony is 64 voices without effects. a typical application will be 38-voice polyphony with reverb, chorus, 4-band equalizer and surround. the ATSAM2553 is directly compatible with most available musical keyboards. this includes configuration options for spring or rubber type contacts, common anode or common cathode type matrix. a 64 s timing accuracy for velocity detection provides a very reliable dynamic response even with low cost unweighted key boards. the time between contacts is coded with 256 steps on a logarithmic time scale, then converted by software to a 128-step midi scale according to the type of keyboard and a selected keyboard sensitivity. the ATSAM2553 can handle directly up to 176 switches. switches, organized in matrix form, require only a serial diode. up to 88 leds c an be directly controlled by the ATSAM2553 in a time multiplexed way. additional leds can be connected through additional external shift regis- ters using the gpio lines (general purpose i/o) of the ATSAM2553. the built-in analog to digital converter of the ATSAM2553 allows connecting continuous controllers like pitch-bend wheel, modulation, volume sliders, tempo sliders, etc. up to 16 sliders can be connected. the ATSAM2553 can be directly connected to most lcd displays through an 8-bit dedicated data bus and 3 control signals. configuration options allow the ATSAM2553 to cover a wide range of musical products, from the lowest cost keyboard to the high range digital piano, thanks to flexible memory and i/o organiza- tion: built-in 64k bytes ram, up to 64m bytes ex ternal memory for firmware, orchestrations and pcm data. the external memory can be rom, ram or flash. memory types can be mixed, but for most applications there is no need for external ram memory as the built-in 64k bytes ATSAM2553 dac ? keyboards ? switches ? leds ? lcd display ? sliders ? midi in/out rom
3 6399a?drmsd?13-oct-08 ATSAM2553 ram is enough to handle firmware variables and reverb delay lines. external flash memory can be programmed on-board from a host processor through the ATSAM2553. the ATSAM2553 operates from a single 12.2880 mh z crystal. a built-in pll raises the fre- quency to 49.152 mhz for internal processing. this allows to minimize radio frequency interference (rfi), making it easier to comply with fcc, csa, ce standards. a power-down feature is also included whic h can be controlled externally (pdwn pin). this makes the ATSAM2553 very suitable for battery operated instruments. the ATSAM2553 has been designed with final instrument quick time to market in mind. the ATSAM2553 product development program includes key features to minimize product develop- ment efforts: ? c compiler for built-in p16 processor ? specialized debug interface, allowing on-target software development with a source code debugger. ? standard sound generation/processing firmware ? standard orchestration firmware ? windows tools for sounds, soundbanks and orchestrations developments ? standard soundbanks ? strong technical support available directly from dream ?
4 6399a?drmsd?13-oct-08 ATSAM2553 3. ATSAM2553 internal architecture figure 3-1. internal architecture the highly integrated architecture of the ATSAM2553 combines a specialized high-performance risc-based digital signal processor (dsp) and a general purpose 16-bit cisc-based control processor (p16). an on-chip memory management unit (mmu) allows the dsp and the control processor to share an internal 32k x 16 ram as well as external rom and/or ram memory devices. an intelligent peripheral i/o interface function handles ot her i/o interfaces, such as the on-chip midi uart and 3 timers, with minimum intervention from the control processor. a key- board/switches/sliders/leds autonomous scanning interface handles the specific music instrument peripherals, including accurate ke yboard velocity detection and communicates with the control processor through a dedicated 304x11 dual port ram. an lcd display interface allows direct connection to common lcd displays p16 processor 256x16 ram 512x16 rom 64 slots dsp with algorithm s in ram memory manager unit 32k x 16 sram midi uart 3 x timers control & status regs 128 x 16 scanning ram keyboards switches sliders leds scanning i/f daclk dabdx daad clbd wsbd run vc c bat a0 -a2 3 d0-d15 rd/, wr/ csx/ xiox/ -4 8 bit adc midi in/out gpio0 kbd|io/ row0-2 br0-10 mk0-1 0 vr efp vr efn vin clock & pll x1 ,x2 lft reset/ pdwn/ debug/ lcd display interface db0-db7 rs r/w e a0-a24 d0-d15 rd/, wr/ csx/ xio/ midi in/out p0-3 kbdio/ row0-3 br0-10 mk0-10 304 x 11 va33 a gnd vin 10-bit adc db0-db7 rs rw enb
5 6399a?drmsd?13-oct-08 ATSAM2553 3.1 dsp engine the dsp engine operates on a frame-timing basis with the frame subdivided into 64 process slots. each process is itself divided into 16 mi cro-instructions known as ?algorithm?. up to 32 dsp algorithms can be stored on-chip in the alg ram memory, allowing the device to be pro- grammed for a number of audio signal generation/processing applications. the dsp engine is capable of generating 64 si multaneous voices using algorithms such as wavetable synthesis with interpolation, alternate loop and 24db resonant filtering for each voice. slots may be linked together (ml ram) to allow implementation of more complex synthesis algorithms. a typical musical instrument application will use a little more than half th e capacity of the dsp engine for synthesis, thus providing state of the art 38 voices synthesis polyphony. the remain- ing processing power may be used for typical functions like reverberation, chorus, surround effect, equalizer, etc. frequently accessed dsp parameter data are stored into 5 banks of on-chip ram memory. sample data or delay lines, which are accessed relatively infrequently, are stored in external rom, or into the built-in 32k x 16 ram. the combination of localized micro-program memory and localized parameter data allows micro-instructions to execute in 20.3 ns (49 mips). sepa- rate busses from each of the on-chip parameter ram memory banks allow highly parallel data movement to increase the effectiveness of each micro-instruction. with this architecture, a sin- gle micro-instruction can accomplish up to 6 simultaneous operations (add, multiply, load, store, etc.), providing a po tential throughput of 294 million operations per second (mops). 3.2 enhanced p16 control pr ocessor and i/o functions the enhanced p16 control processor is the new version of the p16 processor with added instructions allowing c compiling. the p16 is a general-purpose 16-bit cisc processor core which runs from external memory. a debug rom is included on-chip for easy development of firmware directly on the target system. this ro m also contains the necessary code to directly program externally connected flash memory. the p16 includes 256 words of local ram data memory for use as registers, scratchpad data and stack. the p16 control processor writes to the parameter ram blocks within the dsp core in order to control the synthesis process. in a typical application, the p16 control processor parses and interprets incoming commands from the midi uart or from the scanning interface and then controls the dsp by writing into the parameter ram banks in the dsp core. slowly changing synthesis functions, such as lfos, are implemen ted in the p16 control processor by periodically updating the dsp parameter ram variables. the p16 control processor interfaces with other peripheral devices, such as the system control and status registers, the on-chip midi uart, the on-chip timers and the scanning interface through specialized ?inte lligent? peripheral i/o logi c. this i/o logic auto mates many of the sys- tem i/o transfers to minimize the amount of overhead processing required from the p16. 3.3 memory management unit (mmu) the memory management unit (mmu) block a llows external rom and/or ram memory resources to be shared between the synthesis/dsp and the p16 control processor. this allows a single rom device to serve as sample memory storage for the dsp and as program storage for the p16 control processor. an internal 32k x 16 ram is also connected to the mmu, allowing ram resources to be shared between the dsp for delay lines and the p16 for program data.
6 6399a?drmsd?13-oct-08 ATSAM2553 3.4 keyboards/switches/slider s/leds scanning interface the scanning interface consists of hardwired logic. it time multiplexes keyboard, switches and leds connections therefore minimizing the amount of wiring required. it communicates with the p16 through an 304 x 11 dual port ram and a few control registers. when a new incoming event is detected, such as key-on, ke y-off or switch change, the sc anning interface will notify the p16 by indicating the type of event. the p16 then simply reads the dual port ram to get the corre- sponding parameter, such as velocity or switch status. conversely, the p16 simply writes into the dual port ram the led states to be displayed and the scan ning interface will then take care of time multiplexing the display. the scanning interface uses an unique key velocity detect scheme with a pseudo-logarithmic time scale. this allows velocities to be accurately detected, even when keyboard keys are pressed very softly. finally a built-in 10-bit analog to digital converter (adc) allows the connection of up to 16 contin- uous controllers through external analog multiplexers such as the 4051. 3.5 lcd display interface the lcd display interface uses a dedicated bidirectional data bus (db0-db7) an instruc- tion/data control rs, a read write signal r/w and an enable signal enb. built-in features are included to accommodate even the slowest lcd displays. 3.6 flash programming the ATSAM2553 enables programming flash memories in three different ways: ? blank flash programming is done by the debug interface. this mode is very slow and should be reserved for the initial boot sector programming. ? program update. all the flash content can be re-programmed. the ATSAM2553 cannot play music during the flash erase and programming. a specific firmware is used to program flash with the dsp ? parameters update, e.g. in keyboard applications, backup parameter and sequencer song. if the flash enables concurrent read during program/erase, it is possible to backup parameters in the upper memory plane while the p firmware is running on the lower plane. the ATSAM2553 cannot play music during the parameter backup because sound samples are stored in both memory planes. 3.7 flash features ?3.3v or 5v ? access time: 90 ns (for 12.288 mhz crystal) ? dual plane with concurrent read while program/erase recommended for parameters backup.
7 6399a?drmsd?13-oct-08 ATSAM2553 4. pin description 5vt indicates a 5 volt tolerant input or i/o pin. 4.1 pins by function power supply decoupling note: like all high speed hcmos ics, proper decoupling is mandatory for reliable operation and rfi reduction. the recommended decoupling is 100 nf at each corner of the ic with an additional 10 ft bulk capacitor close to the x1, x2 pins. table 4-1. power supply pin name pin# type function gnd 1, 14, 33, 48, 65, 85, 97, 98, 116 pwr digital ground all pins should be connected to a ground plane agnd 16 pwr analog ground for the adc. should be connected to a clean analog ground. vd33 18, 32, 40, 49, 64, 84, 96, 115, 128 pwr power supply, 3.3v 10% all pins should be connected to a vd33 plane vd18 100 pwr power for the internal pll, +1.8v nominal (1.8v 10%). these pins can be connected to the output of the regulator outvc18 (pin 41). a 100 nf decoupling capacitor should be connected between this pin and pll ground (pin98) va33 17 pwr analog power for the adc, +3.3v nominal (3,3v 10%). table 4-2. serial midi pin name pin# type function midi-in 127 in 5vt serial midi in. this pin has a built-in pull up midi-out 126 out serial midi out. table 4-3. external pcm rom/ram/io pin name pin# type function wa0-wa24 42-47,50- 55,66-78 out external memory i/o address, up to 32 mega x 16 for direct rom/ram connection. wd0-wd15 21-31,34-38 i/o 5vt external memory i/o data. data is read (input) when rd is low, written (output) when wr is low. woe 94 out external rom/ram peripherals output enable. wwe 95 out external ram peripherals write enable. wcs0 -wcs1 92,93 out programmable chip selects. can be configured to handle several roms or mixed ram/rom/flash. xio 20 out external peripheral chip select. xio maps its peripheral into 4k bytes address space for optional further decoding.
8 6399a?drmsd?13-oct-08 ATSAM2553 the following signals are controlled by firmware, therefore their timing relationships is deter- mined by firmware only. table 4-4. keyboard, switches, leds, sliders, scanning pin name pin# type function kbdio 19 out if 1 br[0-10] & mk[0-10] hold keyboard contact input data. if 0 br[0-10] holds switch status input, mk[0-10] holds led data output. row0-row3 56-59 out row select: keyboard, switches/leds, external slider analog multiplexer (4051) channel select. sixteen rows combined with eleven br/mk columns allow to control 176 keys, 176 switches, 88 leds and 16 sliders. the programmable bit p0 can be programmed to be used as row4. this allows to use keyboards with matrix other than 8*11 (e.g. 22*4) or multiple keyboards up to 264 keys. br0-br10 104-114 in 5vt kbd contact 1/switch status. when kbdio =1 then br[0-10] holds the keyboard key-off or first contact status. this can be configured as normally close (spring type), normally open (rubber type), common anode or common cathode contact diodes. when kbdio = 0 then br[0-10] holds the switch status from row[0-4]. mk0-mk10 79-83,86-91 i/o 5vt kbd contact 2/led data. when kbdio = 1 then mk[0-10] holds the keyboard key-on or second contact status. this can be configured as common anode or common cathode contact diodes. when kbdio = 0 then mk[0-10] holds the led data from row[0-4] vin 15 ana slider analog input. ranges from agnd to va33. should hold the row[0-3] slider voltage. multiple sliders should be connected through external analog multiplexer(s) like 4051. table 4-5. lcd display interface pin name pin# type function rs 5 out select instruction (low) or data (high) rw 4 out select write (low) or read (high) enb 3 out enable, active high db0-db7 6-13 i/o 5vt bi-directional data bus
9 6399a?drmsd?13-oct-08 ATSAM2553 the ATSAM2553 connects to a variety of stereo dacs or codecs from 16 to 20 bits, with jap- anese or i2s format. when japanese format is used, only 16 bits are supported without external circuitry table 4-6. digital audio group pin name pin# type function ckout 120 out master clock for / dac (256 x fs) dabd0- dabd1 123,124 out serial data for 2 stereo output channels. daad 125 in 5vt serial data for 1 stereo input channel clbd 121 out digital audio bit clock wsbd 122 out digital audio left/right select table 4-7. miscellaneous group pin name pin# type function p0-p3 60-63 i/o 5vt general purpose programmable i/o pins. p0 pin can be used as general purpose i/o or as row4 function. these pins have a built-in pull down. dbclk 117 in 5vt debug clock, should be connected to vd33 under normal operation. if dbclk is found low just after reset, then the internal rom debugger/flash programmer is started. dbdata 119 i/o 5vt debug data, allows serial communication for debug/flash programming. this pin has a built-in pull down. dback 118 out debug ack, toggled each time a bit is received/sent on dbdata. reset 103 in 5vt reset input, active low. this is a schmitt trigger input, allowing direct connection of a rc network. pdwn 39 in power down, active low. when power down is active, wcs0 , wcs1 , xio , wwe , woe address and data lines are floated. all other outputs are set to 0. the crystal oscillator is stopped, outvc18 is set to 0 and 1.8v supply voltage is removed from the core. to exit from power down, pdwn must be set to vd33, then reset applied. when unused this pin must be connected to vd33. outvc18 41 pwr 3.3v to 1.8 v regulator output. t he built-in regulator gives 1.8v for internal use (core supply). pll supply pin vd18 could also be connected to this pin. decoupling capacitors 470 pf in parallel with 2.2 or 4.7 f must be connected between outvc18 and gnd. x1-x2 101,102 - 12.288 mhz (nominal) crystal connection. an external clock can also be used at x1. test0- test1 2,99 in test pins, should be grounded.
10 6399a?drmsd?13-oct-08 ATSAM2553 4.2 pinout by pin number 128-lead lqfp package table 4-8. pinout by pin# pin# name pin# name pin# name pin# name 1 gnd 33 gnd 65 gnd 97 gnd 2 test0 34 wd11 66 wa12 98 gnd 3 enb 35 wd12 67 wa13 99 test1 4rw 36wd1368wa14100 vd18 5 rs 37 wd14 69 wa15 101 x1 6 db0 38 wd15 70 wa16 102 x2 7 db1 39 pdwn 71 wa17 103 reset 8db2 40 vd33 72 wa18 104 br0 9 db3 41 outvc18 73 wa19 105 br1 10 db4 42 wa0 74 wa20 106 br2 11 db5 43 wa1 75 wa21 107 br3 12 db6 44 wa2 76 wa22 108 br4 13 db7 45 wa3 77 wa23 109 br5 14 gnd 46 wa4 78 wa24 110 br6 15 vin 47 wa5 79 mk0 111 br7 16 agnd 48 gnd 80 mk1 112 br8 17 va33 49 vd33 81 mk2 113 br9 18 vd33 50 wa6 82 mk3 114 br10 19 kbdio 51 wa7 83 mk4 115 vd33 20 xio 52 wa8 84 vd33 116 gnd 21 wd0 53 wa9 85 gnd 117 dbclk 22 wd1 54 wa10 86 mk5 118 dback 23 wd2 55 wa11 87 mk6 119 dbdata 24 wd3 56 row0 88 mk7 120 ckout 25 wd4 57 row1 89 mk8 121 clbd 26 wd5 58 row2 90 mk9 122 wsbd 27 wd6 59 row3 91 mk10 123 dabd0 28 wd7 60 p0 92 wcs0 124 dabd1 29 wd8 61 p1 93 wcs1 125 daad 30 wd9 62 p2 94 woe 126 midi_out 31 wd10 63 p3 95 wwe 127 midi_in 32 vd33 64 vd33 96 vd33 128 vd33
11 6399a?drmsd?13-oct-08 ATSAM2553 5. marking figure 5-1. ATSAM2553 marking france sam2553 yyww 58a66c xxxxxxxxx pin 1
12 6399a?drmsd?13-oct-08 ATSAM2553 6. mechanical dimensions 128-lead lqfp package figure 6-1. mechanical dimensions
13 6399a?drmsd?13-oct-08 ATSAM2553 7. electrical characteristics 7.1 absolute m aximum ratings(*) all voltages with respect to 0v, gnd = 0v. temperature under bias..... ........... ............ ..... -55 c to +125 c *notice: stresses beyond those listed under ?absolute maximum ratings? may cause permanent dam- age to the device. this is a stress rating only and functional operation of the device at these or any other conditions beyond those indicated in the recommended operating conditions of this specification is not impli ed. exposure to absolute maximum rating conditions for extended periods may affect device reliability. storage temperature ..................................... -65 c to +150 c voltage on any 5 volt tolerant pin .......................... -0.3 to 5.5v voltage on any non 5 volt tolerant pin ........ -0.3 to v d33 + 0.3v supply voltage.......................................................................... v d33 ......................................................................-0.3v to 3.6v v d18 .........................................................................-0.3v to 2v v a33 ......................................................................-0.3v to 3.6v maximum iol per i/o pin............................................... 10 ma maximum ioh per i/o pin .............................................. 10 ma maximum output current from outvc18 pin (max duration = 1sec) irego ........................................................................... 70 ma
14 6399a?drmsd?13-oct-08 ATSAM2553 7.2 recommended o perating conditions 7.3 dc characteristics table 7-1. recommended operating conditions symbol parameter min typ max unit v d33 supply voltage 3 3.3 3.6 v v d18 supply voltage (pll) 1.65 1.8 1.95 v v a33 supply voltage (pll) 3 3.3 3.6 v irego outvc18 output current - 30 ma t a operating ambient temperature -25 - 70 c table 7-2. dc characteristics (t a = 25c, v d33 = 3.3v 10%, v d18 = 1.8v 10%) symbol parameter min typ max unit v il low level input voltage -0.3 - 0.8 v v ih high level input voltage on non-5vt pins 2 - 3.6 v v ih high level input voltage on 5vt pins 2 - 5.5 v v ol low level output voltage iol=4ma - - 0.4 v v oh high level output voltage ioh=4ma vd33-0.4 - - v id18 power supply current at (crystal freq.=12.288 mhz) 0.7 ma id33 36 ma ? power down supply current 0.6 ma rud pull-up or pull-down resistor 8 13 25 kohm
15 6399a?drmsd?13-oct-08 ATSAM2553 8. timings all timings conditions: vd33=3.3v, vd18=1.8v, ta=25c, all outputs except x2, have load capacitance = 30 pf. all timings refer to tck, which is the internal master clock period. the internal master clock frequency is 4 times the frequency at pin x1. therefore tck=txtal/4. the sampling rate is given by 1/(tck*1024) . the maximum crystal frequency/clock frequency at x1 is 12.288 mhz (48 khz sampling rate). 8.1 crystal frequency se lection considerations there is a trade-off between the crystal frequency and the support of widely available external rom/flash components. table 8-1 allows to select the best fit for a given application; using 12.288 mhz crystal frequency allows to use widely available rom/flash with 90 ns access time, while providing state of the art 48 khz sampling rate. table 8-1. crystal frequency selection chart sample rate (khz) xtal (mhz) tck (ns) rom ta (ns) comments 48 12.288 20.35 92 recommended for current designs. 44.1 11.2896 22.14 101 37.5 9.60 26.04 120 31.25 8.00 31.25 146
16 6399a?drmsd?13-oct-08 ATSAM2553 8.2 scanning (keyboard, switches, leds, sliders figure 8-1. scanning (keyboard, switches, leds, sliders all timings relative to 12.288 mhz crystal between x1 and x2. tsclk tka tioa tkd tiod tka tioh tkd tiog tio tkbd kbdio/ sclk row br[0-10] mk[0-10] table 8-2. timing parameters symbol parameter min typ max unit tkbd keyboard access (kbdio high time) 1.3 s tio switches/leds access (kbdio low time) 3.9 s tsclk internal scanning clock period 325 ns tka keyboard valid from rising kbdio 1.1 s tkd break (contact1) and make (contact2) data from keyboard floating from rising kbdio 1.2 1.5 s tioa switch data valid from falling kbdio 3.6 s tiod switch data floating from falling kbdio 3.7 4 s tiog led data mk guard time 27 163 ns tioh led data floating from rising kbdio 082ns
17 6399a?drmsd?13-oct-08 ATSAM2553 8.3 external rom/flash, ram, i/o read timing figure 8-2. external rom/flash, ram, i/o read timing wcs0/ wcs1/ xio/ wa0- wa24 woe/ wd0- wd15 tcsoe trc tpoe toe tdf tace table 8-3. timing parameters symbol parameter min typ max unit trc read cycle time 5*tck - 6*tck ns tcsoe chip select low / address valid to woe/ low 2*tck-5 - 3*tck+5 ns tpoe output enable pulse width - 3*tck - ns tace chip select/address access time 5*tck-5 - - ns toe output enable access time 3*tck-5 - - ns tdf chip select or woe/ high to input data hi-z 0 - 2*tck-5 ns
18 6399a?drmsd?13-oct-08 ATSAM2553 8.4 external flash, ram, i/o write timing figure 8-3. external flash, ram, i/o write timing wcs0/ wcs1/ xio/ wa0- wa24 woe/ wd0- wd15 tcsoe trc tpoe toe tdf tace table 8-4. timing parameters symbol parameter min typ max unit twc write cycle time 5*tck - 6*tck ns tcswe write enable low from cs/ or address or woe/ 2*tck-10 - - ns twp write pulse width - 4*tck - ns tdw data out setup time 4*tck-10 - - ns tdh data out hold time 10 - - ns
19 6399a?drmsd?13-oct-08 ATSAM2553 8.5 digital audio figure 8-4. digital audio figure 8-5. digital audio frame format wsbd clbd dabd0 dabd1 daad tcw tcw tclbd tsod tsod table 8-5. timing parameters symbol parameter min typ max unit tcw clbd rising to wsbd change 8*tck-10 - - ns tsod dabd valid prior/after clbd rising 8*tck-10 - - ns tclbd clbd cycle time - 16*tck - ns msb lsb (16bits) lsb (18bits) lsb (20bits) msb wsbd (i2s) wsbd (japanese) clbd dabd0 dabd1 daad
20 6399a?drmsd?13-oct-08 ATSAM2553 9. recommended crystal compensation figure 9-1. recommend crystal compensation 10. recommended board layout like all hcmos high integration ics, following simple rules of bo ard layout is mandatory for reli- able operations: ? gnd, vd33, vd18 distribution, decouplings all gnd, agnd, vd33, vd18, va33 pins should be connected. a gnd plane is strongly recom- mended below the ATSAM2553. the board gnd + vd33 planes could be in grid form to minimize emi. recommended vd18 decoupling is 0.1f, close to the vd18 pin and 470pf in parallel with 2.2 or 4.7f, close to outvc18 pin. vd33 requires 0.1 f at each corner of the ic with an addi- tional 10 ft capacitor that should be placed close to the crystal. ? crystal the paths between the crystal, the crystal compensation capacitors and the ATSAM2553 should be short and shielded. the ground return from the compensation capacitors should be the gnd plane from ATSAM2553. ? busses parallel layout from db0-db7 and wa0-wa24/ wd0-wd15 should be avoided. the db0-db7 bus is an asynchronous type bus. even on s hort distances, it can induce pulses on wa0- wa24/wd0-wd15 which can corrupt address and/or data on these busses. a ground plane should be implemented below the db0-db7 bus. a ground plane should be implemented below the wa0-wa24/wd0-wd15 bus, which connects both to the rom/flash grounds and to the ATSAM2553. ? analog section a specific agnd ground plane should be provided , which connects by a single trace to the gnd ground. no digital signals should cross the agnd plane. refer to the codec vendor recom- mended layout for correct implementation of the analog section
21 6399a?drmsd?13-oct-08 ATSAM2553 11. typical keyboard, switch es, leds, sliders connection
22 6399a?drmsd?13-oct-08 ATSAM2553 12. overview of operations note: the reader should be familiar with the atsam97xx series operation. refer to the atsam9707 product development kit ?prgdvkit.pdf? document. this chapter describes operations and registers specific to the ATSAM2553. 12.1 memory mapping 12.2 i/o mapping 12.3 lcd interface the ATSAM2553 can be directly connected to most lcd displays. the ATSAM2553 provides an 8-bit data bus, db0-db7 and 3 output control pins rs, rw, enb. all the lcd pins are controlled by i/o access add 0ah. the io reads only the 8-bit data bus. the io writes into the 11-bit lcd_reg: size (in word) address low address high access 256 000:0000 000:00ff atsam97 xx standard routine rom 768 000:0100 000:03ff built in debug rom 32m - 1k 000:0400 1ff:ffff external rom/flash (wcs0/) 32k 200:0000 200:7fff built in sram 4k 200:8000 200:8fff external memory page xio (xio/) 4k 200:9000 200:9fff not used 216k 200:a000 203:ffff not used 32m - 256k 204:0000 3ff:ffff external sram (wcs1 ) write read 0-9 0-9 standard atsam97xx i/o (refer to prgdvkit.pdf) 0a 0a lcd port 0b x keyboard config 0c - 0e 0c - 0e scanning port add0-2 0f 0f gpio control/status lcd_reg[7:0] db[7:0] lcd_reg[8] rs lcd_reg[9] rw lcd_reg[10] enb
23 6399a?drmsd?13-oct-08 ATSAM2553 12.4 keyboard confi guration register the configuration register allows dealing with a vari ety of keyboards. this write only 6-bit regis- ter is mapped at the address obh in the i/o space. the default configuration (power-up) is common anode (reg[1]=0) and rubber contact (reg[0]=0) which corresponds to most popular keyboards. reg[3:2] = scanning clock divider. (default 00). reg[5:4] = scanning matrix. (default 00). io access io data lcd_reg[10] db[7:0] rw comments write iod[10:0] (iod[9]=0) iod[10:0] lcd_reg[9]=0 iod[7:0] output 0 set lcd in write mode write iod[10:0] (iod[9]=1) iod[10:0] lcd_reg[9]=1 lcd_d[7:0] input 1 set lcd in read mode read xx lcd_reg[9]=0 lcd_reg[7:0] output 0 invalid read from lcd in write mode read xxx, lcd_d[7:0] lcd_reg[9]=1 lcd_d[7:0] input 1 read from lcd reg[0] = contact type 0 for rubber type contact 1 for spring type contact reg[1] = diode wiring 0 for common anode wiring 1 for common cathode wiring reg[3:2]} divide factor 00 1 01 2 10 4 11 not used reg[5:4]} scanning matrix 00 row[2:0] 01 row[3:0] 10 row[4:0] 11 not used
24 6399a?drmsd?13-oct-08 ATSAM2553 12.5 scanning interface the ATSAM2553 has built-in specialized hardware which allows the following functions: ? scanning of up to 264 keys from an external keyboard, with key-on and key-off velocity measurement (time between contacts) ? scanning of up to 176 switches ? time multiplex control of up to 88 leds ? analog to digital conversion of up to 16 analog sources the p16 interfaces with the scanning using a 3 addresses port located at 0ch to 0eh in the i/o mapping. this port enables access to the keyboard ram. this 304 x 11 ram is mapped as follows: 00h 10h 28h 30h 38h 58h 08h 18h 20h 40h 60h 70h 7fh key velocity and status for mk0/br0 at row [2:0] led data switch data adc data key velocity and status for mk1/br1 at row [2:0] key velocity and status for mk2/br2 at row [2:0] key velocity and status for mk3/br3 at row [2:0] key velocity and status for mk4/br4 at row [2:0] key velocity and status for mk5/br5 at row [2:0] key velocity and status for mk6/br6 at row [2:0] key velocity and status for mk7/br7 at row [2:0] key velocity and status for mk8/br8 at row [2:0] key velocity and status for mk9/br9 at row [2:0] key velocity and status for mk10/br10 at row 48h 50h 00h 10h 28h 30h 38h 58h 08h 18h 20h 40h key velocity and status for mk0/br0 at row [2:0] key velocity and status for mk1/br1 at row [2:0] key velocity and status for mk2/br2 at row [2:0] key velocity and status for mk3/br3 at row [2:0] key velocity and status for mk4/br4 at row [2:0] key velocity and status for mk5/br5 at row [2:0] key velocity and status for mk6/br6 at row [2:0] key velocity and status for mk7/br7 at row [2:0] key velocity and status for mk8/br8 at row [2:0] key velocity and status for mk9/br9 at row [2:0] key velocity and status for mk10/br10 at row [2:0] 48h 50h 00h 10h 28h 30h 38h 58h 08h 18h 20h 40h key velocity and status for mk0/br0 at row [2:0] key velocity and status for mk1/br1 at row [2:0] key velocity and status for mk2/br2 at row [2:0] key velocity and status for mk3/br3 at row [2:0] key velocity and status for mk4/br4 at row [2:0] key velocity and status for mk5/br5 at row [2:0] key velocity and status for mk6/br6 at row [2:0] key velocity and status for mk7/br7 at row [2:0] key velocity and status for mk8/br8 at row [2:0] key velocity and status for mk9/br9 at row [2:0] key velocity and status for mk10/br10 at row [2:0] 48h 50h * key page 0 * key page 2 * key page 1
25 6399a?drmsd?13-oct-08 ATSAM2553 note: there are three possible values for key page. 0: value sampled at row4 = 0, row3 = 0 1: value sampled at row4 = 0, row3 = 1 2: value sampled at row4 = 1, row3 = 0 3: not used. 12.5.1 kbd status (i/o add och read-only) ? d[7] krq flag = 1 indicates that a key-on or key-off has been detected and that the p16 service is requested. this flag is automatically cleared by a write to data h for the detected key. ? d[6:0] specify which keyboard key is requesting the service, valid only if krq flag = 1. key nb range from 0 to 87. ? d[9:8] specify the key page 12.5.2 ram add (i/o add och write-only) ? d[6:0] ram address ? d[7] don't care ? d[9:8] key page ?i? refers to the mki or bri signal number which ranges from 0 to 10. for example, the information regarding the key at row 2, column mk5/br 5, will be found at ram address 8*5+2=42. the scanning hardware cycles the row[2:0] signals from 0 to 7 to the output pins in 41.6 s (5.2 s per row). 12.5.3 ram data (i/o add odh read/write) data[10:0] i/o add odh, data[10:0] data[15:11] don't care scanning ram data format: key page add index content value: 0,1,2 00h to 57h 8*i+row[2:0] key velocity and status don't-care 58h to 5fh row[2:0] led data don't-care 60h to 6fh row[3:0] switch status don't-care 70h to 7fh row[3:0] adc value bit?>109876543210 key velocity & status srq on busy vel led data mk10 mk9 mk8 mk7 mk6 mk5 mk4 mk3 mk2 mk1 mk0 switch data br10 br9 br8 br7 br6 br5 br4 br3 br2 br1 br0 adc status x x x adc data
26 6399a?drmsd?13-oct-08 ATSAM2553 key velocity & status : ? srq: if 1, indicates that the velocity detection is completed and that this key requests attention from the p16. in this case busy = 0, on and vel hold valid information. ? on: 1 indicates key-on, 0 indicates key-off. valid only if srq = 1. ? busy: used internally by the scanning hardwar e, indicates ?velocity detection in progress?. ? vel: from 0 to 255, valid only if srq = 1, indicates the time between contacts. time is depending on scanning divider and scanning matrix configuration. time = timecount x 2 scanning divider x (1 + scanning matrix) ? 0 < vel < 128: timecount = vel x 41.6 s. ? 128 < vel < 192: timecount = 128 x 41.6 s + (vel - 128) x 2 x 41.6s. ? 192 < vel < 224: timecount = 2 x 128 x 41.6 s + (vel - 192) x 4 x 41.6s. ? 224 < vel < 240: timecount = 3 x 128 x 41.6 s + (vel - 224) x 8 x 41.6s. ? 240 < vel < 255: timecount = 4 x 128 x 41.6 s + (vel - 240) x 16 x 41.6s. ? led data: the p16 should write to these locations the mk information which should appear to the mk[10:0] pins at row[2:0] time. ? switch data: these locations hold the br information read from the br[10:0] pins at row[3:0] time. ? adc data: these locations represent the analog voltage at vin pin at row[3:0] time, from 0 (vin = agnd) to 03ffh (vin = va33). adc data are sampled with 10-bit precision and the result is stored on 8 bits. 12.6 gpio p[3:1] are controlled by the atsam97xx config and control/status registers (refer to prgdvkit.pdf). p0 in normal mode is controlled by the atsam97xx config and control/status registers (refer to prgdvkit.pdf). the ATSAM2553 additional gpio control/status register controls p0 normal and alternate mode. the gpio register is located at address 0xf in the i/o mapping. data bit number write read 7x x 6x x 5x x 4 p0 alt p0 alt 3 x dbclk 2 dbdata out dbdata in 1 dback dback status 0 dbdata output enable dbclk
27 6399a?drmsd?13-oct-08 ATSAM2553 po: in alternate output mode, gpio0 = row4. normal input normal output alternate output sam2553_config_reg[0] (i/o add0) 0 1 1 sam2553_gpio_reg[4] (i/o addf) x 0 1
28 6399a?drmsd?13-oct-08 ATSAM2553 13. revision history document ref. comments change request ref 6399a first issue.
headquarters international atmel corporation 2325 orchard parkway san jose, ca 95131 usa tel: 1(408) 441-0311 fax: 1(408) 487-2600 atmel asia room 1219 chinachem golden plaza 77 mody road tsimshatsui east kowloon hong kong tel: (852) 2721-9778 fax: (852) 2722-1369 atmel europe le krebs 8, rue jean-pierre timbaud bp 309 78054 saint-quentin-en- yvelines cedex france tel: (33) 1-30-60-70-00 fax: (33) 1-30-60-71-11 atmel japan 9f, tonetsu shinkawa bldg. 1-24-8 shinkawa chuo-ku, tokyo 104-0033 japan tel: (81) 3-3523-3551 fax: (81) 3-3523-7581 product contact web site www.atmel.com www.atmel.com/dream technical support info@dream.fr atmel techincal support sales contacts www.atmel.com/contacts/ literature requests www.atmel.com/literature disclaimer: the information in this document is prov ided in connection with atmel products. no li cense, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of atmel products. except as set forth in atmel?s terms and condi- tions of sale located on atmel?s web site, atmel assumes no li ability whatsoever and disclaims any express, implied or statutor y warranty relating to its products including, but not limited to, the implied warranty of merchantability, fitness for a particu lar purpose, or non-infringement. in no event shall atmel be liable for any direct, indirect, conseque ntial, punitive, special or i nciden- tal damages (including, without limi tation, damages for loss of profits, business interruption, or loss of information) arising out of the use or inability to use this document, even if at mel has been advised of the possibility of such damages. atmel makes no representations or warranties with respect to the accuracy or completeness of the cont ents of this document and reserves the rig ht to make changes to specifications and product descriptions at any time without notice. atmel does not make any commitment to update the information contained her ein. unless specifically provided otherwise, atmel products are not suitable for, and shall not be used in, automotive applications. atmel?s products are not int ended, authorized, or warranted for use as components in applications in tended to support or sustain life. ? 2008 atmel corporation. all rights reserved. atmel ? , atmel logo and combinations thereof, dream ? and others are registered trademarks or trademarks of atmel corporation or its subsidiaries. other terms and product names may be trademarks of others. 6399a?drmsd?13-oct-08


▲Up To Search▲   

 
Price & Availability of ATSAM2553

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X